Hey, I'm making a website as you all know by the millions of threads I've created, and I have a members area. I will have a datagrid that will display data and an image (chosen by the user). All data is bound to a database stored procedure. I suppose I will give each user a certain path and filename for their image. e.g. zorba will get www.sladesfaculty.com/images/imgZ.jpg. How do I enable the users to overwrite this file, but not any others?

If there is a better alternative to this, please tell me :confused:

Thanks,

Slade

Slade, I am not sure what you mean by not allowing others to overwrite the path, but allow the user? Why not store the path in the database (which I think you are doing) and set a restrictions level on editing that path. The path can only be edited by the user logged in that matches the user name associated with the "path".

Hope that made some sense?

Sure did dude!

Many Thanks!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.