Forums

Password Protecting an Admin Page

For the website I am building using Python + Flash + MySQL, I have a couple of pages that allow me to submit information into the databases. The information (a listing of audio recordings) is available to anyone who views the site. But I don't want anyone to be able to input stuff into my "add_lessons" page.

What's the best/recommended way to do this on PythonAnywhere?

Sorry for (i) a newbie question and (ii) the possible incoherence of the question--I'm tired.

Hi there -- do you mean "Flask" rather than "Flash"? If so, the "Flask-Login" extension is the thing you need to use -- it will allow you to have portions of your site that people need to log in to access.

Yes. I meant Flask. Thanks!

No problem!