is there a way to ip restrict a specific page on o...
# suitecommerce
j
is there a way to ip restrict a specific page on our sca site?
s
Not out of the box but it would be a relatively straightforward customisation. When the page is requested, you would first need to send a request to server which checks the IP in the request headers and then return your desired data based on that. I'm not sure how secure this is though, especially if the decision is whether to simply show/hide the page (ie the page contents could be stored in the SPA and therefore extractable by a clever person regardless of their IP address).
p
Because of SCA's architecture, including caches and CDN, you won't be able to implement this on the SEO engine. So any customization you can potentially implmeent would block site usage by a real client (a browser) and prevent navigation within the site, but as far as content scrapping goes you wouldn't be safe at all.