dose anyone have a SQLite example that saves a password as MD5 and when the user puts in there password it reads it as md5 and then cheacks the DB
what i need is if the username and password are set as empty and lock is set
as on as it will as befault the users will be asked to setup there user account.
and then everytime the user logs on if they have not changed it to unlock under settings it will ask them for the pass and if it unlocked it just opens the app
also need away to make the user folder to be locked also so if the pen drive is viewed manual people are unable to just steal off with the files.
Announcement
Collapse
No announcement yet.
Jonny 6 Porable 7.9
Collapse
X
-
Ok i am happy to say i have the New menu system working i don't know what
and how to set the Users section i don't know how to save the password
in MD5 its all under the same db just a new table but i don't know what i need
to set the password as do i save it as text or what?
Please this would be helpfull to bypass version 8 to 9 thanks people.
Leave a comment:
-
Ok this is what i am calling seems to work so far but i doCode:sMenu = File.DoesExist("SqSupport.db") if sMenu ~= false then dbname = "SqSupport.db"; db = SQLite.Open(dbname); err = Application.GetLastError(); if err == SQLite.OK then tbMenu = SQLite.QueryToTable(db,"SELECT * FROM Menu"); for nRow = 1,tbMenu.Rows do IDM = tbMenu.Data[nRow]["menuid"] IDL = tbMenu.Data[nRow]["List"] IDD = tbMenu.Data[nRow]["Data"] ListBox.SetItemText("S_Menu_List", IDM, IDL); ListBox.SetItemData("S_Menu_List", IDM, IDD); end end end
see a error in my logic and that is how will the menu know
what data to gose with what id. any anyone got any ideas?
Leave a comment:
-
Ok i am able to make the database the the table needed now how do i call the
data within that table back in to the listbox
table includs
menuid
List
Data
i wont protent i know what i am doing now i am lost way way lost
anyone got a example i can go off to make this work
also maybe away
to encrypit the user passwork with MD5 to make it more safe.
I will mostly convert most of the ini functions to the db
Leave a comment:
-
Versions 9's New Corenetx v.1
Hey ok i am already looking for for ways to make 8 better aka version 9
with SQLite
ok i can make the database simple and i can set the blank data for the menus
like so
On Startup
Now what would i do on the On Preload to set the listbox of the new versionCode:--\\Start Jonny6 Engin Get DB Set Menu On First Run//-- sMenu = File.DoesExist("SqSupport.db") if sMenu ~= true then dbname = "SqSupport.db"; db = SQLite.Open(dbname); err = Application.GetLastError(); if err == SQLite.OK then SQLite.Query(db,"create table Menu(menuid integer primary key, List text, Data text)"); SQLite.Query(db,"insert into Menu values(1,'','')"); SQLite.Query(db,"insert into Menu values(2,'','')"); SQLite.Query(db,"insert into Menu values(3,'','')"); SQLite.Query(db,"insert into Menu values(4,'','')"); SQLite.Query(db,"insert into Menu values(5,'','')"); SQLite.Query(db,"insert into Menu values(6,'','')"); SQLite.Query(db,"insert into Menu values(7,'','')"); SQLite.Query(db,"insert into Menu values(8,'','')"); SQLite.Query(db,"insert into Menu values(9,'','')"); SQLite.Query(db,"insert into Menu values(10,'','')"); SQLite.Query(db,"insert into Menu values(11,'','')"); SQLite.Query(db,"insert into Menu values(12,'','')"); SQLite.Query(db,"insert into Menu values(13,'','')"); SQLite.Query(db,"insert into Menu values(14,'','')"); SQLite.Query(db,"insert into Menu values(15,'','')"); SQLite.Query(db,"insert into Menu values(16,'','')"); SQLite.Close(db) end end
of 8 to get the info from the database. so when it comes to be show the data
is already shown.
and on installing a mudule do i just recall this
SQLite.Query(db,"insert into Menu values(1,'Menu One','Menuone.exe')");
or is there one i have to do to to rerite the Query?
This is only one of many ideas i am working with for 9 but seens the best
way to go.
Version 8 is almost ready when i can fix the vista copatabliaty problem.
Leave a comment:
-
Originally posted by ShadowUK View PostAssuming that strPassword is Crypto-encrypted or something, Basically I'm just saying write to the registry (pw still encrypted) if the user is an admin, and if not use the INI but encrypted still.Code:01 [b][COLOR='#0000FF']if[/COLOR][/b] [COLOR='#FF0000']([/COLOR]System[COLOR='#FF0000'].[/COLOR]GetUserInfo[COLOR='#FF0000']([/COLOR][COLOR='#FF0000'])[/COLOR][COLOR='#FF0000'].[/COLOR]IsAdmin [b][COLOR='#0000FF']or[/COLOR][/b] System[COLOR='#FF0000'].[/COLOR]GetUserInfo[COLOR='#FF0000']([/COLOR][COLOR='#FF0000'])[/COLOR][COLOR='#FF0000'].[/COLOR]IsVistaAdminLimitedToken[COLOR='#FF0000'])[/COLOR] [b][COLOR='#0000FF']then[/COLOR][/b] 02 Application[COLOR='#FF0000'].[/COLOR]SaveValue[COLOR='#FF0000']([/COLOR] [COLOR='#800080']"Jonny 6 Porable"[/COLOR][COLOR='#FF0000'],[/COLOR] [COLOR='#800080']"Password"[/COLOR][COLOR='#FF0000'],[/COLOR] strPassword[COLOR='#FF0000'])[/COLOR]; 03 [b][COLOR='#0000FF']else[/COLOR][/b] 04 INIFile[COLOR='#FF0000'].[/COLOR]SetValue[COLOR='#FF0000']([/COLOR]_SourceFolder[COLOR='#FF0000'].[/COLOR][COLOR='#FF0000'].[/COLOR] [COLOR='#800080']"//Data//Password"[/COLOR][COLOR='#FF0000'],[/COLOR] [COLOR='#800080']"User Information"[/COLOR][COLOR='#FF0000'],[/COLOR] [COLOR='#800080']"Password"[/COLOR][COLOR='#FF0000'],[/COLOR] strPassword[COLOR='#FF0000'])[/COLOR]; 05 [b][COLOR='#0000FF']end[/COLOR][/b]
Nope can't do that as it no longer 100% portable.
i am thinking of changing some things to sqlite.
Leave a comment:
-
Assuming that strPassword is Crypto-encrypted or something, Basically I'm just saying write to the registry (pw still encrypted) if the user is an admin, and if not use the INI but encrypted still.Code:01 [b][COLOR='#0000FF']if[/COLOR][/b] [COLOR='#FF0000']([/COLOR]System[COLOR='#FF0000'].[/COLOR]GetUserInfo[COLOR='#FF0000']([/COLOR][COLOR='#FF0000'])[/COLOR][COLOR='#FF0000'].[/COLOR]IsAdmin [b][COLOR='#0000FF']or[/COLOR][/b] System[COLOR='#FF0000'].[/COLOR]GetUserInfo[COLOR='#FF0000']([/COLOR][COLOR='#FF0000'])[/COLOR][COLOR='#FF0000'].[/COLOR]IsVistaAdminLimitedToken[COLOR='#FF0000'])[/COLOR] [b][COLOR='#0000FF']then[/COLOR][/b] 02 Application[COLOR='#FF0000'].[/COLOR]SaveValue[COLOR='#FF0000']([/COLOR] [COLOR='#800080']"Jonny 6 Porable"[/COLOR][COLOR='#FF0000'],[/COLOR] [COLOR='#800080']"Password"[/COLOR][COLOR='#FF0000'],[/COLOR] strPassword[COLOR='#FF0000'])[/COLOR]; 03 [b][COLOR='#0000FF']else[/COLOR][/b] 04 INIFile[COLOR='#FF0000'].[/COLOR]SetValue[COLOR='#FF0000']([/COLOR]_SourceFolder[COLOR='#FF0000'].[/COLOR][COLOR='#FF0000'].[/COLOR] [COLOR='#800080']"//Data//Password"[/COLOR][COLOR='#FF0000'],[/COLOR] [COLOR='#800080']"User Information"[/COLOR][COLOR='#FF0000'],[/COLOR] [COLOR='#800080']"Password"[/COLOR][COLOR='#FF0000'],[/COLOR] strPassword[COLOR='#FF0000'])[/COLOR]; 05 [b][COLOR='#0000FF']end[/COLOR][/b]
Leave a comment:
-
Change Logs:
Version 8.0.0.0
To be added and changed,
Encryption
Password Files moved and encryped.
Menu
New menu system No longer 100's of lables setting
the menu.
Theme
New theme/Style. Theme was by a AMS member :yes
Installers
Working on new vista Installer for Vim installers
to install to the menu.
Email Help/Add
Request software/Bug Reporting the from USB drive its self
no need to go to your email client to contact me with details.
Leave a comment:
-
having a problem still with vista and loading the cryped installer decryping and
running as anyone got a example that works on vista?
Leave a comment:
-
Hey,
I need a little help
i at the mo have it opening in posstion 0/0
Thats the top left i want to open it ever above the start bar snaped to the task bar or aboce the clock same again snaped to the task bar
I have change the menus in some ways and thanks to Samio
Version 8 as a new background.
Still working on it but it seems to becoming along nicely.
I have over looked the right click on the system try seems i left
the old menu in that will be removed also.
I have change the All programs menu and the Your menu
they seem to be working fine so far with the changers
i did on the old one sometimes have a problem so i think this
is fixed.
This Version supports 16 Supported Apps and 10 Unsupported apps
Unsupported aps are apps you have added under the Your Programs folder
you do also have to edit the ini file within there to list your program
Simply so
Your Programs:
-Your.ini
-Software.exe
--Your.ini
--[Programs]
--1=Software
--1p=Software.exe
that simple
but i will add a how 2 when version 8 is ready.
-
Leave a comment:
-
Jonny will need mager work for that but ya that would a great thing to have within AMS as IR do call its AMS from like CD menus and things but things are moving to USB/flash drives these days.Originally posted by Protocol View PostVery, very cool. Once I get some time, I'll look into it. Pen drives are a fascination with me and if what you say is true, then IR might want to look more into what you're doing and seeing about a possible merge of the utility into future versions...
=)
Leave a comment:
-
Very, very cool. Once I get some time, I'll look into it. Pen drives are a fascination with me and if what you say is true, then IR might want to look more into what you're doing and seeing about a possible merge of the utility into future versions...
=)
Leave a comment:
-
CongratsOriginally posted by Protocol View Posthahahaha,
No problem. Actually, I think there's probably alot of peeps thinking the same thing. So this would allow us to build aps for thumb drives? I've been too backed up to take a look at all the plugins you and others have been offering (getting married next month!
), but you guys have been rocking it!
And your submission was on the nail as i would say
This is a USB/Thumb drive unite that installs software whats made for
it i have so far been to get some good software like firefox,notepad++,VLC
thinks like this to work i lost some files, data and code and this was about 3 months back when i had no internet so refressing my own mind it a little hard
But Soon as i get my head around the code this software should work with
Vista also.
Well when i say work i mean you will be able to install the software/updates to the thumb drive.
I do know that this only works well with none Regvaule programs to make
it more portable its not a web .exe to speed up runtime and over come the
temp folder for all the files.
I feel a like child with this software but we all have to start somewhere is
was the first thing i made in the dark without help one or 2 snipits was added
to the end to fix some problems but i don't remeber whom they was from.
about 2 months went in to programing and i mean 2 months of around 28 hours of programing a day i was not eating right and no way sleeping right
and i spilit with someone close and she and i was not on talking teams at
this time so i never go to see my little one so when Opitcs Dead the idea
almost dided with it but from what this software ment to mean from time i
put it and from what i was going thought at the time i had to releace it
I am sorry version 7.9 is not as stable as i thought it was at the time
i only was able to test if the software worked on vista i was unable to test
the installer side of things.
Version 8.0(UniV) Will also be offerd freely and also i will be making a dev pack
so people can make there software work with the usb drives software booter
I would like to stat tho unless you have the companys full pormission please
don't try and convert copyrighted software to this formate.
I do know where is many products that do this but they get by it as its
works via serial key of the full product or other teams like that
but just to be on the safe site i have only converted Open/free software
and also converted my own media player what i will also be adding soon
this was made not long before and then upgreaded with many options and
the invtergated over to this project all versions from version 4 to 7.7 had
the software full installed already but this pushed the size over a gig.
So i started to work on this new option Version 8* will also be a free to
all Indigorose members version Version 9 i do want to releace with a pen drive
so a small fee for the drive would be added this is just something i was looking
in to i might find it not wirth it and just releace free again.
Any other questions please feel free to thow them at me i will answer the
best i can.
Leave a comment:
Leave a comment: