Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #30819

Re: How to create a login screen using core python language without using any framework

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <demianbrecht@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'frameworks': 0.05; 'framework.': 0.07; 'subject:How': 0.09; 'information?': 0.09; 'security.': 0.09; 'subject:create': 0.09; 'subject:language': 0.09; 'subject:using': 0.09; 'url:github': 0.09; 'django': 0.10; 'subject:python': 0.11; 'accounts?': 0.16; 'entries,': 0.16; 'subject: \n ': 0.16; 'subject:core': 0.16; 'subject:login': 0.16; 'subject:screen': 0.16; 'url:djangoproject': 0.16; 'wrote:': 0.17; 'url:dev': 0.17; '(or': 0.18; 'mention': 0.23; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'creating': 0.26; 'am,': 0.27; 'skip:@ 10': 0.27; 'description,': 0.29; 'them?': 0.29; 'attach': 0.30; 'like:': 0.33; 'to:addr:python-list': 0.33; 'agree': 0.34; 'received:google.com': 0.34; 'list': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'message-id:@gmail.com': 0.36; 'others.': 0.36; 'totally': 0.36; 'display': 0.36; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'store': 0.38; 'things': 0.38; 'url:docs': 0.38; 'url:en': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'build': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'protection': 0.62; 'provide': 0.62; 'different': 0.63; 'accounts': 0.63; 'websites': 0.66; 'account': 0.67; 'records': 0.68; 'subject:any': 0.84; 'joel': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=h5D6iYoHVa+ZLDZ7B6Y2JN16S9Etos3DE6tIQk7yYIU=; b=N7IWoH0a/8oHvd6Dzp44pEyzMtPaqMaI1LDUXkuQnaQoR6b8tTcgPI4d66i82JjAYP OQfrwNaEiSSS49TTImN37EePL39w4EUb8qLToBat1U9O4o/mLvNQfMtO0+Ej+cohjpUO atR2Mt+iL0qUDYhZzl4vRMqQ86xVaZ0fGU9R8p9f3M0NOCPrFiuHjiL9H8+HJWgOZmAv ltzSVS1kP+RcV86ED2gTs+SN4l9+v/LZC8syZ00CjRcJNL5acUWkF5pPEUHsvQiHU+Pz IIMjW+DJvkycpkua2PvlN8LXIYabxEZOGtSXCiCRqjcn7/dZJDtuZv718kZaBhz3yUxw omZg==
Date Fri, 05 Oct 2012 07:41:33 -0700
From Demian Brecht <demianbrecht@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1
MIME-Version 1.0
To python-list@python.org
Subject Re: How to create a login screen using core python language without using any framework
References <97fa2804-adda-428f-a78a-d9ab3e22e965@googlegroups.com> <506ea86d$0$6969$e4fe514c@news2.news.xs4all.nl> <CAPM-O+xb5eapqdfuGy1JgBzwVSieGaJLtF+JwHmMYziVi0bEWQ@mail.gmail.com>
In-Reply-To <CAPM-O+xb5eapqdfuGy1JgBzwVSieGaJLtF+JwHmMYziVi0bEWQ@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1853.1349448101.27098.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1349448101 news.xs4all.nl 6878 [2001:888:2000:d::a6]:35995
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:30819

Show key headers only | View raw


On 12-10-05 06:11 AM, Joel Goldstick wrote:

> I totally agree about using a framework.  You say you want a 'simple'
> 3 page website.  Why do you think it is simple?  You say you don't
> have any skills at creating websites with python.  From your
> description, you will need to build a directory of entries, a form,
> and attach it to a database, so that means you also need to understand
> sql (or something!). You need to display individual records I imagine.
>   Do you need to edit them after they are created?  How are you going
> to manage the accounts?  Will you create them?  Will you let the
> visitor create an account?  Where will you store the account
> information?  Do different accounts have different permissions?
>
Not to mention security. Frameworks like Django provide protection 
against things like:

* CSRF (Cross Site Request Forgery)
* XSS ((X)Cross Site Scripting)
* SQL injection

As well as others. For a comprehensive list of protection that Django 
offers, check out https://docs.djangoproject.com/en/dev/topics/security/.

-- 
Demian Brecht
@demianbrecht
http://demianbrecht.github.com

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to create a login screen using core python language without using any framework shivakrshn49@gmail.com - 2012-10-05 01:03 -0700
  Re: How to create a login screen using core python language without using any framework Hans Mulder <hansmu@xs4all.nl> - 2012-10-05 11:29 +0200
    Re: How to create a login screen using core python language without using any framework Joel Goldstick <joel.goldstick@gmail.com> - 2012-10-05 09:11 -0400
    Re: How to create a login screen using core python language without using any framework Demian Brecht <demianbrecht@gmail.com> - 2012-10-05 07:41 -0700
  Re: How to create a login screen using core python language without using any framework Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-05 14:13 -0400

csiph-web