How can you test if a page can be anonymously accessible within an app you have already authenticated in?



  • I am trying to ensure that a page that can be visited from within an app that requires user to be logged in, can be accessed anonymously. A controller has been introduced that can present views as static pages and want to ensure that the targeted page is anonymously accessible.



  • You've got a few options here on how to test a page that should be viewable without authenticating.

    1. Use a different browser. If you're logged in via Chrome, can you access the static page in Firefox (not logged in)? Browser's cookies do not transfer between different browsers (if your app is using cookies).

    2. Use the browser's incognito/private browsing mode. Like number 1, incognito mode doesn't view cookies, so regardless if you are logged into the site, can you access the static page?

    3. Have access to VPN? You can try accessing the static page via a VPN service.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2