xp home temp directory permissions

G

Guest

We have a web application using ActiveX controls that resize and save
photographs to the %temp% directory, then it reads them and posts to the
server.

Normally this is fine and only takes a few changes in internet options to
allow it to work, but, with xp home we have a user where the component can't
operate, it can't read from the temp directory.

So my question is how to adjust security on xp home so that an ActiveX
control can read/write to %temp% ??
 
S

Steven L Umbach

Try granting users or everyone read permisisons to that folder. In XP Home
that can be done by booting into Safe Mode as administrator to see the
security tab for a folder or using a command line tool such as the built in
cacls. %temp% refers to the documents and settings\username\local
settings\temp folder.

Steve

http://www.ss64.com/nt/cacls.html -- cacls syntax and examples
 
S

Steve Riley [MSFT]

Scooter, each individual user already has read/write access to his/her own
%temp% folder. You shouldn't have to make any permissions changes. What user
context does your application and your ActiveX control run under?
 
G

Guest

This is a downloaded utility in a CAB file, so it's a browser related ActiveX
control using ADO to stream the images to the server.

It's signed and ends up in the windows/downloadedinternetfiles/ folder.
Javascript is used to invoke methods.

The error is that it can't read from the %temp% directory where the resized
images are. I'll be talking to the user today to find out if the images are
resizing OK (I think they are) and then for sure know that's it's read
permissions.

I'll also keep the safemode trick in mind if I need it ...

Thanks for the replies,
 
G

Guest

More info::

This machine is a Compact and it has a "Compact Owner" user for logins. I'm
getting fairly certain that this is the trouble. I'm sure I'll have to have
the user specifically set permissions, this is a typical activex control and
most users have no trouble getting this all to work.

Can you post the steps to boot in safe mode under XP Home? The choice
doesn't come up with F2 or F12, do you just hit space bar when it's first
booting up?
 
S

Steven L Umbach

Hit F8 before the OS starts loading.

Steve


scooter said:
More info::

This machine is a Compact and it has a "Compact Owner" user for logins.
I'm
getting fairly certain that this is the trouble. I'm sure I'll have to
have
the user specifically set permissions, this is a typical activex control
and
most users have no trouble getting this all to work.

Can you post the steps to boot in safe mode under XP Home? The choice
doesn't come up with F2 or F12, do you just hit space bar when it's first
booting up?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top