This topic is locked

Trying to allow user to only add to the database

5/4/2004 10:12:15 PM
ASPRunnerPro General questions
author

I want users to be only able to add stuff to the database and NOT be able to view/edit/delete, how could I do that?

Sergey Kornilov admin 5/7/2004

Hi,
try to insert bolded snippet of code into CheckSecurity function that can be found at the end of ..._edit.asp file:

Function CheckSecurity(strValue, strAction)

if Ucase(strAction)="ADD" then

  CheckSecurity = True

else

  CheckSecurity = False

end if

Exit Function

...


I hope this helps.