Previous Thread
Next Thread
Print Thread
Rate Thread
#102010 01/16/2001 3:01 PM
Joined: Nov 2000
Posts: 4
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 4
Odd question: is there some way I can stop CGI scripts from running in a particular directory on a Windows NT 4 web server? The web host cannot or will not remove execute permissions from the directory and files.

Sponsored Links
#102011 01/16/2001 8:42 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
possible set the permissions to not allow execution rights?

------------------


:: Who is Andy?

#102012 01/16/2001 9:00 PM
Joined: Oct 2000
Posts: 24
Member
Member
Offline
Joined: Oct 2000
Posts: 24
Unfortunately, NT isn't as 'easy' as Unix when it comes to permissions.

Basically, if the sysadmin has allowed executable scripts in a directory, anything ending in .cgi / .pl executes.

NT doesn't have a CHMOD command.

The only way I can think of is to change the file extension.

#102013 01/16/2001 9:29 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
yea, if you change the extension to something that cant execute, that may work. Or you can just delete the files. [Linked Image]
Seriously though, blank index file maybe?

------------------

Modification Developer of the Ultimate Bulletin Board
Due to time limitation, I do not offer support Via. E-mail, ICQ , AIM, Private message or any media.
Regards,
MasterMind

#102014 01/17/2001 1:40 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
Whoops...not thinking straight [Linked Image]

.htaccess work on NT?? That might be a solution...I don't think it does though...

------------------


:: Who is Andy?

Sponsored Links
#102015 01/17/2001 4:33 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
No, .htaccess is unix/apache only. [Linked Image]

------------------

Modification Developer of the Ultimate Bulletin Board
Due to time limitation, I do not offer support Via. E-mail, ICQ , AIM, Private message or any media.
Regards,
MasterMind

#102016 07/15/2001 7:26 PM
Joined: May 2001
Posts: 15
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 15
!? If you have IIS access its simple - the directory permissions can be set to none, scripts or Execute (which includes scripts)...


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)