Restricting available url parameters
Posted: Tue Apr 27, 2010 1:18 am
Hello,
Say I have a table consisting of companies called tbl_companies:
I can access these by the url parameters eg. example.com/index.php?-table=tbl_profiles&com_id=2
Is there a way to restrict people from using the other fields such as: example.com/index.php?-table=tbl_profiles&com_companyname=foo
I don't necessarily want to restrict them from viewing the company name, just want to restrict their ability to apply their own url parameters
Many thanks, Tom
Say I have a table consisting of companies called tbl_companies:
- Code: Select all
com_id
com_companyname
com_description
com_status
I can access these by the url parameters eg. example.com/index.php?-table=tbl_profiles&com_id=2
Is there a way to restrict people from using the other fields such as: example.com/index.php?-table=tbl_profiles&com_companyname=foo
I don't necessarily want to restrict them from viewing the company name, just want to restrict their ability to apply their own url parameters
Many thanks, Tom