470,841 Members | 1,083 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,841 developers. It's quick & easy.

file owner id

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

--
Ajay Brar,


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Jul 18 '05 #1
1 1727

"Ajay" <ab******@mail.usyd.edu.au> wrote in message
news:ma**************************************@pyth on.org...
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

--
Ajay Brar,

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.1415 9'}

then encrypt it and store it to disk.

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

Tom
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by pdav | last post: by
6 posts views Thread by kai rosenthal | last post: by
2 posts views Thread by levimc | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.