this post requires basic understanding about yii framework's authentication and authorization. while researching about using php session variable to keep persistent data in a yii-based project, i came across this thread that discussed security implicat… more »
to allow authenticated user only to the whole module, instead of repeating codes to define access rules in all controller files, just add the following code to the module file in beforeControllerAction() function:
public function beforeControllerActio… more »
snews uses a single login system. user name and password is stored in table settings and the data is encrypted to some random long string.
if you forgot yoru password, it doesn't seem to have any links to retrieve / reset password.
a look at the sour… more »
notes and references on web development and various things.
disclaimers
this site does not guarantee accuracy of information provided. codes may not be tested, are provided as is and are free to to use. use at your own risk. limited or no support will be provided.
under no circumstances shall this site be responsible or liable for any damages or consequences as a result of direct or indirect usage of any information from this website.