how to restrict unauthendicate user

how to restrict unauthendicate user

by prasanna venkatraman -
Number of replies: 1
i have problem with that unauthendicate user can access my resource every time.so i want to restict them to prevent their access.and also allow the authendicate user to acess the lesson only on specified duration .how can i do that?please give me  an idea?
Average of ratings: -
In reply to prasanna venkatraman

Re: how to restrict unauthendicate user

by Chris Collman -
Picture of Documentation writers
Hi Prasanna,
I think I understand many of the things you are saying. I am not sure what "my resource" means. Authentication refers to the process which allows a user to enter a Moodle site.

The key word you are looking for is Enrolment in a course. Like Authentication, there is a lot to say. I suggest you click on the MoodleDocs links I provided for both these terms.

In a Lesson you should review the Access control Lesson settings. You could add code that the student would have to type in order to enter the Lesson for the first time. You can also set a time frame by date but not by duration in a Lesson.

You can only set the duration a student stays in the course via the course Enrolment settings.

Hope this helps, Chris
Average of ratings: Useful (1)