-
- 17 Posts
I am trying to create a section where users can when regsistered get access to a page that they can update with images and texts.
I have been able to create a user group and people can login via the admin but they cannot upload iamges.
So I tooka new approach they can login using Login addon and we use Frontpage addon again they can login but can alter any page on the site but still cannot upload images but if the know there location can add them to documents.
I have been struggling for a couple of weeks now with MODX security setting but am getting my head around it. I'm looking for an answer or somebody that could just set it up or is there an addon?
Generally speaking you don't want front-end users to be able to upload files, so it's a bit difficult to set up. You might find it easier to use this
http://bobsguides.com/fileupload-tutorial.html
-
- 17 Posts
I do understand the implications of allowing people to upload but these will be a very select group and I would not expect anything malicious. Thx for the reply I will look into this
I wasn't saying that your idea is a bad one, just that in general it's not easy to do because it's not something you usually want your users to be able to do. It should be possible to create a group that has file_upload permissions. They would need to be able to use the system file browser, so you would definitely want them to be restricted to a Media Source. To be honest, incorporating the FileUpload snippet would be much, much easier.
-
- 24,544 Posts
Letting users upload files is fairly easy, but making that process safe and making sure each user's files go to the right place is much more tricky.
NewsPublisher will let people edit a page, and it's fairly easy to let them only edit their own page with it. It will let users upload files, but IIRC, it doesn't give you much control over where those files go.
I think some users have dealt with your problem by putting a tag for the FileUpload snippet on the same page as the NewsPublisher snippet tag.
-
- 17 Posts
Thx for the replies sorry about delays in replying but I am sometimes tied up with other things. Going to look into FileUpload
-
- 17 Posts
In think I need to get somebody to do this to make sure it's secure, how do I go about finding somebody?