Accessing *.htm files on hard drive

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
stevew
Spectator
Spectator
Posts: 1
Joined: Tue Dec 06, 2005 2:54 pm

Accessing *.htm files on hard drive

Post by stevew »

I want to allow access to some some cdrom products I've installed on the hard drive. They use html indexes to access the data.

One of the links is c:/mitchell/m1domeng/index.htm

I can access them using the following url.txt but this leaves the c: wide open.

+c:

-all

+www.ondemand5.com
+www.ondemand5.com/odweb.asp
+www.ondemand5.com/login/ipauthwelcome.asp
+www.ondemand5.com/mric/mric.asp

I've tried adding the link
+c:/mitchell/m1domeng/index.htm and removing the +c: and am denied access.

I've tired various combinations of +c:/.... with no luck.

Is there any way to permit access to certain files on the hard drive while denying access to others?

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Post by Scott »

Try using the begins with regular expression character and the double backslash.

-all
+^c:\\mitchell\\m1domeng\\

You should be able to limit it to a file, but usually limiting it to the folder is sufficient to thwart most while allowing the page to run properly.

--Scott

Post Reply