We're using a perl script to fetch images from the inhouse server & pump them to a remote server with much higher bandwidth.
I want to remove the Everyone account from the target folder on the remote server, so users may only access it with username & password. When I do this, the perl script stops working. I can only assume the perl script is operating under the Everyone account.
How do I change the functionality so that the Everyone account is removed & yet the perl sync script still works?... or perhaps there's a better solution?
Using ActivePerl-5.8.8.816. on Win2k Server running IIS 5.
Server is strictly an image repository, no pages are served from it.
User accounts have already been assigned to target folder.
Under IIS, PerlEx currently has Anonymous access checked, using IUSR_MACHINE-NAME for user account, Allow IIS to control password checked.
Perl sync script was written years ago by a contractor, & they work perfectly on public access servers. Not so well for private servers until I get this resolved. Script is invoked when inhouse renderers finish job & fire off url to perl script with params to fetch the updated imagery.
Please forgive my naivety, I have no experience with perl, bare minimum experience with IIS... only graphics rendering automation. Don't even know where to begin. Any help much appreciated - KD
6 3512
This is a server issues, not a perl issue. I suggest you ask on a IIS server forum. If I knew the answer I would post it but I never use that server.
Moving to IIS Forum
--Kevin
I believe that you need to understand what you are trying to achieve with authentication (IIS), as well as permissions (directory). How remote is this server?
If you are pushing info, perhaps highest privilege is better?
Here is a support article in case you are having probs with set up: HOW TO: Configure and Test a PERL Script with IIS 4.0, 5.0, 5.1, and 6.0. HTH.
We are trying to get the functionality to work as it does for inhouse servers, in which the image repository folder on the server uses simple directory security.
This folder is under the default IIS Home Directory location... C:\InetPub\wwwroot\FolderX structure, in which FolderX is the image repository folder.
For inhouse source servers- the inherited permissions were removed for this folder using Windows Explorer\Folder Properties\Security Tab\Uncheck "Allow inheritable permissions...". The Administrator account was added with full control, then each user account was added with the following permissions: Read & Execute, List Folder Contents, & Read.
This works fine for the inhouse servers. But... for the big pipe external servers in which the PERL Sync Script is required to PULL imagery from the inhouse source servers, & write them to the equivalent remote folder, this setup does not work.
With inherited permissions enabled on the target folder on the external server, the PERL Sync Script works fine. Once you remove inherited permissions, then add in the administrator accounts, then add in all the user accounts, the PERL Sync Script stops working.
I've tried adding the Local System account, & all other accounts to see if the PERL Sync Script would start working. It is not until you add the Everyone account back in that the PERL Sync Script starts working again.
How can I change the PERL or IIS functionality/permissions/or whatever else it might be so that the PERL Sync Script does not use the Everyone account to work?
I'm not sure if I can make this any clearer. The PERL Sync Script needs to operate on the target folder on the remote server in the absence of the Everyone account, using simple directory security. The remote server is a 1.5 hour drive away from here. Remote Desktop is used to access it.
Any help much appreciated - KD
Please confirm that you have read the article and have IIS set up correctly. Thanks.
Yes... checked the article, info was irrelevant. As I said previously, the perl script was already working.
I could not find how to permit the script to work without having the Everyone account on the remote server target folder.
I ended up setting IIS\Directory Security\IP address and domain name restrictions to only allow access to the perl script folder from inhouse IPs, as the script is not for public use.
Then I unchecked Anonymous Access for the image repository folder in IIS\Directory Security\Anonymous access and authentication control.
Not a perfect solution, and I'm paranoid about IP spoofing and the Everyone account with modify/write access, but the perl sync script is working fine & content retrieval requires username & password. - KD
Sign in to post your reply or Sign up for a free account.
Similar topics
by: rajarao |
last post by:
hi
I want to remove the content embedded in <script> and </script> tags
submitted via text box.
My java script should remove the content embedded between <script> and
</script> tag.
my current...
|
by: graham.reeds |
last post by:
I am updating a website that uses a countdown script embedded on the
page. When the page is served the var's are set to how long the
countdown has left in minutes and seconds, but the rest of the...
|
by: gopal srinivasan |
last post by:
Hi,
I have a text like this -
"This is a message containing tabs and white spaces"
Now this text contains tabs and white spaces. I want remove the tabs
and white...
|
by: kevin |
last post by:
Is that even possible?
I am creating a web service in .NET to expose some already created .NET
programs to other groups. One group is writing the client in PERL, and thus
wishes the wsdl schema...
|
by: Daz |
last post by:
Hi everyone.
I would like to know if it's possible to clean up my scripts, or if you
will, 'make them biodegradable'. Some of my smaller script will be
download to the users browser, but I would...
|
by: mailtofinny |
last post by:
Hi
I have a perl script which deals with files like this. My aim is to close the handlers safely eventhough the perl script execution is stopped abruptly.
How can i do this.
Pls give me a...
|
by: Perl Beginner |
last post by:
Hi All,
I have a very extensive Perl script using Win32. This is an automation script which manipulates various windows using the mouse and keyboard (using Win32::GuiTest). The various windows...
|
by: lilly07 |
last post by:
Hi I tried a simple script to remove the directory as below:
#!/usr/bin/perl -w
use File::Find;
#finddepth(sub{rmdir},'.')
system('rm -rf test3');
1. finddepth(sub{rmdir},'.') removed all...
|
by: melbourno |
last post by:
I have a Perl script that I run and the out come as showing below:
Log chain 1:
Reading: server 2\08120700.mls
Reading: server 2\08120900.mls
Reading: server 1\08121100.mls
Log chain 2:
...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |