Author: SecretiveLoon | Posted on: 9/20/2008 2:11:27 PM | Views : 908

I've looked at plenty of pages saying how to stop a person from downloading a pdf if they're not logged in. It's always along the lines of : . This isn't exactly what I want.

I was wondering how it was possible to make it so users belonging to the same group have access to different files. The database end would be really easy with just a table along the lines of: UserID, DocumentID. I know how to add these entries and how to write SQL statements to look up the info. I can't figure out a way to make it so when I person types a direct URL for a pdf file, that the website could then lsee if they have access to this file by checking the database.

When a user accesses a pdf file from the address bar, is there some function that asp runs that I can alter to perform this check?

Thanks for any responses :) ...

Go to the complete details ...