We help IT Professionals succeed at work.

Directory access

afpcos asked
Is there a way to prevent a user from browsing directly to a file in a directory without going through the index page. *Note- these files are not html, shtml, or jsp, they are files that are downloaded.

Thank you!!
Watch Question

There is not a direct way to do this You can provide the ID to file that are to be downloaded inspite of giving the direct link and make a file which redirect and start download ok so that user can not view from where files are downloaded. But there is no way that only from index file the files are downloaded.


Explore More ContentExplore courses, solutions, and other research materials related to this topic.