Same as you do in any .NET environment
- Netduino Forums
- → Viewing Profile: Posts: Bainesbunch
Community Stats
- Group Members
- Active Posts 61
- Profile Views 6393
- Member Title Advanced Member
- Age 64 years old
- Birthday September 20, 1959
-
Gender
Male
-
Location
France
-
Interests
Electronics, Software, Open Source, WKIKSPEED, Rock climbing, Snowbirading, Running a Hotel.
User Tools
Posts I've Made
In Topic: Multi threading
14 January 2013 - 09:55 AM
In Topic: Firmware update issue / VS issue
27 August 2012 - 06:05 PM
Its just that looking at the report it says "HalSystemInfo.halVendorInfo: Netduino (v4.2.0.0) by Secret Labs LLC"
Just a thought
Cheers Pete.
In Topic: [Webserver] Website with password protection
15 June 2012 - 10:11 PM
Hi there, I'm new here and just received my first netduino+.
Until now I wrote a code that provides a webserver which can get information from the browser throug the request (on loading the page). -> When you watch the request you can see there is the path which I use as command (ex. www.google.com/command1)
I start a pc over WOL by opening a special link (ex. www.mydomain.com/wolStartNow).
The problem is that EVERYBODY can open the link and start my pc!
So I would like to protect access by password.
But, (don't forget I'm a netduino and c# beginner) I can't use php on netduino+. Or do I?
So, I tried one thing: Using a javascript code that hashes a username and password from a html-form. The generated hash is the command. Nobody could remember that hash/url if he watched me sending the command.
BUT: The javascript code is so long, that I got an Out-Of-Memory-Exception on the netduino+.
Do you have some ideas how to solve that problem, or how to protect my netduino-html-page with a password?
Thank you very much!
LordOfTheFlakes
In Topic: Extendedtimer
28 May 2012 - 11:43 AM
Depending on the precision of the timer you can set a standard timer to test the TimeSpan from the point that you started the timer, resetting the start point and raising an event when it is reached.
So if you wanted to check every second then set the timer to 1 second then in the sub that it calls do a simple TimeSpan
Here is a link to TimeSpan
http://forums.asp.net/t/1386180.aspx/1
The second alternative it to start a new worker thread that checks the TimeSpan in a loop and resets the start point and raises an event when the time has expired.
Hope this helps
Cheers Pete.
In Topic: Industrial Use Case
28 April 2012 - 06:58 PM
Thanks for sharing your experience Pete. Impressive use of the Netdruino. Just shows what's possible. Without giving away any details (as I understand your situation) did you have to customize the Netdruino to get the level of reliability up. A simple yes or no would suffice! Thanks
Yes. I basicly built it onto another PCB that took care of the nasty stuff that the outside world can though at it
Pete.
- Netduino Forums
- → Viewing Profile: Posts: Bainesbunch
- Privacy Policy