login error:Admin is disabled because unsecure channel

422 views
Skip to first unread message

zhaopeng

unread,
Aug 20, 2008, 6:02:26 AM8/20/08
to web2py Web Framework
i login to web2py from a remote computer and got this error.
the host ip is :10.x.x.x
so i type the url:http://10.x.x.x:8000 in browser on a remote computer
and got this error.
could someone help me .

Thanks,
Peng

carlo

unread,
Aug 20, 2008, 6:54:16 AM8/20/08
to web2py Web Framework
you can access admin interface just from localhost for security
reason.

Look at lines 19 to 35 in applications/admin/controllers/default.py if
you want to change it

carlo

On 20 Ago, 12:02, zhaopeng <zhaopen...@gmail.com> wrote:
> i login to web2py from a remote computer and got this error.
> the host ip is :10.x.x.x
> so i type the url:http://10.x.x.x:8000in browser on a remote computer

Tito Garrido

unread,
Aug 20, 2008, 8:31:35 AM8/20/08
to web...@googlegroups.com
or u can use a ssh tunnel like this:
http://mdp.cti.depaul.edu/AlterEgo/default/show/68
--
Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

sudhir.a...@gmail.com

unread,
Aug 20, 2008, 6:52:02 AM8/20/08
to web...@googlegroups.com
I think web2py's admin interface is accessible via localhost or through
a ssl enabled server (if you are accessing admin interface remotely).
But I believe this behavior may be changed, because the admin demo on
web2py site run without https

Sudhir

mdipierro

unread,
Aug 21, 2008, 4:54:32 AM8/21/08
to web2py Web Framework
As stated by many here admin and appadmin only work from localhost and
remotely via ssl (ssh tunnel or https is enabled). This is from your
protection and it is a bad idea to change it. In fact if you allow
remote admin access without ssl, anybody in the networks the packets
travel through can easily steal the admin password and have complete
access to your server.

Massimo


On Aug 20, 5:52 am, "sudhir.axeler...@gmail.com"
<sudhir.axeler...@gmail.com> wrote:
> I think web2py's admin interface is accessible via localhost or through
> a ssl enabled server (if you are accessing admin interface remotely).
> But I believe this behavior may be changed, because the admin demo on
> web2py site run without https
>
> Sudhir
>
> zhaopeng wrote:
> > i login to web2py from a remote computer and got this error.
> > the host ip is :10.x.x.x
> > so i type the url:http://10.x.x.x:8000in browser on a remote computer
Reply all
Reply to author
Forward
0 new messages