CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Upload File Security on Server Folder

Print topic Send  topic

Author Message
swilson


Posts: 84
Posted: 10/12/2005, 7:54 AM

When I use the upload control to upload a .jpg file - all works well:
1. It updates the filename field of my database, and
2. It uploads the file to a directory on my web server /images

But, I cannot view the uploaded files in a page from a browser.

This is because the uploaded files on the server (Windows Server 2003) gain a special security parameter under Account Unknown. When I right-click the file in window explorer (on the server) then select the Securty tab, is shows an:
Account Unknown(S-1-5-21-355112695-164078603-18826...
with Special Permissions

I can manually change the security permissions for the uploaded file to full or select the image folder permissions to apply to all child files, but I don't want to do this. I want the uploaded file not to take on any special permissions.

Help please.
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple.
View profile  Send private message
DonB
Posted: 10/12/2005, 9:58 AM

The files inherit the permissions of the folder. Change the folder
permissions.

--
DonB

http://www.gotodon.com/ccbth


"swilson" <swilson@forum.codecharge> wrote in message
news:2434d23ab0e13f@news.codecharge.com...
> When I use the upload control to upload a .jpg file - all works well:
> 1. It updates the filename field of my database, and
> 2. It uploads the file to a directory on my web server /images
>
> But, I cannot view the uploaded files in a page from a browser.
>
> This is because the uploaded files on the server (Windows Server 2003)
gain a
> special security parameter under Account Unknown. When I right-click the
file
> in window explorer (on the server) then select the Securty tab, is shows
an:
> Account Unknown(S-1-5-21-355112695-164078603-18826...
> with Special Permissions
>
> I can manually change the security permissions for the uploaded file to
full or
> select the image folder permissions to apply to all child files, but I
don't
> want to do this. I want the uploaded file not to take on any special
> permissions.
>
> Help please.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

swilson


Posts: 84
Posted: 10/12/2005, 10:01 AM

Thanks. I solved the problem just now by selecting a specific temp folder rather than using the default. It seems that had something to do with how the files inherited their security settings.
_________________
It continues to amaze me, how often the solutions to seemingly complex problems are so very simple.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.