file owner id

A

Ajay

hi!

i have an application that allows admin users to create template files,
which are stored on the server.
currently the file are created with the owner "nobody"
is it possibly to change the owner to be the same as the owner of the web
account?
if yes, are there any security risks with doing so - the script changes to
the web account's owner, creates the file and then changes back.

thanks

cheers
 
T

Tom B.

Ajay said:
hi!

i have an application that allows admin users to create template files,
which are stored on the server.
currently the file are created with the owner "nobody"
is it possibly to change the owner to be the same as the owner of the web
account?
if yes, are there any security risks with doing so - the script changes to
the web account's owner, creates the file and then changes back.

thanks

cheers
not sure what operating system your on but if your worried about security
you could create some sort of alias dictionary,

ailiasdict = {'nobody':'cfcgf1234','sombodyimportant':'pi3.14159'}

then encrypt it and store it to disk.

you then create the file with the owner ailiasdict["nobody"].

Tom
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,905
Latest member
Kristy_Poole

Latest Threads

Top