I have ASP site hosted in windows based host. I have 2 MS Access database for CMS and Forum.
My webshost folder hierachy is as follows:
|--an all other site files+folders
I created the data folder where i have 2 access database. Today i realized that if other people knows the database path like w**.mysite.com/data/dbname.mdb they can download it by typing it in the browser. Is there anyway to restrict this without effecting the CMS & Forum.
I will be greatful if somebody please help me.
usually, in windows it has a seperate DB folder outside the root folder -wwwroot. The user can place the access DB outside the root folder and access without any problem and by the way we can prevent access it from anonymous user's.