Hi. I am using a WinNT 4.0 workstation with PWS 3.0 and have a couple of
situations that  I am hoping someone out there can help me
understand/resolve.

First, I have a couple of CGI scripts that I want to make available to
administrators only.  I set security on them so that they are
readable/executable by administrators only, and when I run it from my web
browser, I am prompted for my username and password, and the script works
fine-but only if I set permissions on my perl directory to make perl
executable by admins only.  Nobody else can use perl then.  So if I change
the perl permissions so that everyone can execute perl I am not prompted for
my username/password on my CGI script, but the anonymous user cannot access
the admin script so it fails.  What do I need to do to resolve this??  Is
there some way I can send (securely) a username and password to a script
that uses Win32::AdminMisc::LogonAsUser to logon and then run the admin
script?  Or some other option?

Another situation I have is this: I have a script that uses DBI to access a
database I am working with.  The script works fine from the command prompt,
but I want to use a CGI form to enter database search parameters. The target
of the CGI form is another script that processes the entered parameters.
The CGI form works fine, but the target script returns an error telling me
that it connect to my data source (ODBC source if that matters).  I assume
this is a permissions problem as well, but dont know for sure.

I appreciate any help anyone has!

Thanks much,
Scott C. Wildenberg, Ph.D.
University of Minnesota
Dept. of Medicine-Genetics
Infotech Specialist
phone: (612) 866-7181
[EMAIL PROTECTED]

Prove all things; hold fast that which is good. -- I Thes. 5:21


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to