Answered
application.cfm login and file access
Hi,
I am using an application.cfm login for my application. I have just found out that uploaded files (ppt, doc, pdf, xls, etc) can be accessed by just using the complete URL to the file and the user is not directed to login, even though the files are within an application.cfm protected directory.
For example,
www.domain.com/login/ returns the user to the login page
www.domain.com/login/resources/ returns the user to the login page
www.domain.com/login/resources/thisFile.pdf will load the pdf file and not return the user to the login page.
How do I overcome this?
Thanks,
jo
I am using an application.cfm login for my application. I have just found out that uploaded files (ppt, doc, pdf, xls, etc) can be accessed by just using the complete URL to the file and the user is not directed to login, even though the files are within an application.cfm protected directory.
For example,
www.domain.com/login/ returns the user to the login page
www.domain.com/login/resources/ returns the user to the login page
www.domain.com/login/resources/thisFile.pdf will load the pdf file and not return the user to the login page.
How do I overcome this?
Thanks,
jo
