I am using custom user membership in asp.NET so user is an object that contains members. One of the user s members is "IsCompanyAdmin". I have a few aspx pages for company administrators only. Is there any way to prevent those pages from non-administrator users using the web.config?
In my webpages I have references to js and images as such: "../../Content/Images/"Filename" In my code if I reference a file as above, it doesnt work so i have to write: "c:/miscfiles/"filename" 1-...