| Previous · Next | |
| User | Message |
|
ehab
|
Date: 11/30/2011 10:03 am · Subject: Secure way · Rating: -2
Is there a secure way to implement record level permissions on Thingy. I want a user to only see records meant for them. In my mind the association of the username with the record and then doing templates that will make him only see his searched records is not safe since any other registered user that can play HTML can see the other user's records if they know their usernames. Ehab Heikal Web Development and design in Egypt, Arabic Portal with news chat and Videos using WebGUI Quote: An eye for an Eye only helps make the whole world blind Gandhi --- (Edited on 11/30/2011 10:03 am [GMT-0600] by ehab) --- |
| Back to Top |
Rate [ | ]
|
|
xootom
|
Date: 11/30/2011 10:30 am · Subject: Re: Secure way · Rating: -1
Just set the Thingy 'who can view' and 'who can edit' to Owner. --- (Edited on 30-11-2011 16:30:01 [GMT+0000] by xootom) --- |
| Back to Top |
Rate [ | ]
|
|
perlDreamer
|
Date: 11/30/2011 10:31 am · Subject: Re: Secure way · Rating: -2
If I recall correctly, the Thingy has a permissions setting called "Owner", where only the person who creates a record can view it or edit it. So if your users are creating the content in the Thingy that would work. If that isn't the case, you could become that user, and then create the rows in the Thingy. However, from an Admin point of view, there's no way to assign individual permissions to content. If you have to go that route, you can always create multiple Things in the Thingy, each with their own group to view permissions. --- (Edited on 11/30/2011 8:31 am [GMT-0800] by perlDreamer) --- |
| Back to Top |
Rate [ | ]
|
|
martien
|
Date: 12/1/2011 10:23 am · Subject: Re: Secure way · Rating: -2
My solution for that, was to extend Thingy_things with - onlyOwnerEntries ( to view, anything an user adds ) and a userId or field_UserId (or username ) field within the entries (Thingy_XXX) --- (Edited on 2011-12-01 17:23 [GMT+0100] by martien) --- |
| Back to Top |
Rate [ | ]
|