if you flip back to the main page in figure - you'll see view linkpressing it triggers the script in example - to run on the server example - pp \internet\web\pymailcgi\cgi-bin\onrootviewlink py #!/usr/bin/python ""###############################################################################on view link click on main/root html pagemake pop password input pagethis could almost be an html file because there are likely no input params yetbut wanted to use standard header/footer functions and display the site/user names which must be fetchedon submissiondoes not send the user along with password hereand only ever sends both as url params or hidden fields after the password has been encrypted by user-uploadable encryption module###############################################################################""page template pswdhtml ""please enter pop account password belowfor user "%sand site "%ssecurity notethe password you enter above will be transmitted over the internet to the server machinebut is not displayedis never transmitted in combination with username unless it is encrypted or obfuscatedand is never stored anywherenot on the server (it is only passed along as hidden fields in subsequent pages)and not on the client (no cookies are generatedthis is still not guaranteed to be totally safeuse your browser' back button to back out of pymailcgi at any time ""generate the password input page import commonhtml userpswdsite commonhtml getstandardpopfields({}commonhtml pageheader(kind='pop password input'print(pswdhtml (commonhtml urlrootusersite)commonhtml pagefooter(usual parms casefrom module herefrom html|url later this script is almost all embedded htmlthe triple-quoted pswdhtml string is printedwith string formatting to insert valuesin single step but because we need to fetch the username and server name to display on the generated pagethis is coded as an executable scriptnot as static html file the module commonhtml either loads usernames and server names from script inputs ( appended as query parameters to the script' urlor imports them from the mailconfig fileeither waywe don' want to hardcode them into this script or its htmlso simple html file won' do againin the cgi worldwe embed html code in python code and fill in its values this way the pymailcgi server