Question

I'm developing a sling WCMS. When I call address [e.g. 'http://localhost:8080/apps/bcms/pages/test.jsp'] of a page in the browser, a save dialog box will appear and ask to save jsp file. How to prevent jsp pages accessible via direct addressing?

Thanks in advanced.

Était-ce utile?

La solution

Just remove the permissions for anonymous. The script resolution and execution runs with the script user.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top