473,748 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File Based User and password system

6 New Member
i can't seem to get my program to save the Set.savv file and encrypt it and decrypt it when user logs back on to there virtual file on a CD and writing it to the disk its self and closing the session
Feb 14 '13 #1
8 2057
Rabbit
12,516 Recognized Expert Moderator MVP
We would need to see the code you're using.
Feb 14 '13 #2
thomashurlburt
6 New Member
okay let me copy it down for you
Feb 14 '13 #3
thomashurlburt
6 New Member
Expand|Select|Wrap|Line Numbers
  1.   private void EncryptFile(string inputFile, string outputFile)
  2.         {
  3.  
  4.             try
  5.             {
  6.                 string password = "H#GH!QK&"; // Your Key Here
  7.                 UnicodeEncoding UE = new UnicodeEncoding();
  8.                 byte[] key = UE.GetBytes(password);
  9.  
  10.                 string cryptFile = outputFile;
  11.                 FileStream fsCrypt = new FileStream(cryptFile, FileMode.Create);
  12.  
  13.                 RijndaelManaged RMCrypto = new RijndaelManaged();
  14.  
  15.                 CryptoStream cs = new CryptoStream(fsCrypt,
  16.                     RMCrypto.CreateEncryptor(key, key),
  17.                     CryptoStreamMode.Write);
  18.  
  19.                 FileStream fsIn = new FileStream(inputFile, FileMode.Open);
  20.                 int data;
  21.                 while ((data = fsIn.ReadByte()) != -1)
  22.                     cs.WriteByte((byte)data);
  23.  
  24.  
  25.                 fsIn.Close();
  26.                 cs.Close();
  27.                 fsCrypt.Close();
  28.             }
  29.             catch
  30.             {
  31.  
  32.             }
  33.         }
  34.         ///<summary>
  35.         /// Steve Lydford - 12/05/2008.
  36.         ///
  37.         /// Decrypts a file using Rijndael algorithm.
  38.         ///</summary>
  39.         ///<param name="inputFile"></param>
  40.         ///<param name="outputFile"></param>
  41.         private void DecryptFile(string inputFile, string outputFile)
  42.         {
  43.  
  44.             {
  45.                 string password = "H#GH!QK&"; // Your Key Here
  46.  
  47.                 UnicodeEncoding UE = new UnicodeEncoding();
  48.                 byte[] key = UE.GetBytes(password);
  49.  
  50.                 FileStream fsCrypt = new FileStream(inputFile, FileMode.Open);
  51.  
  52.                 RijndaelManaged RMCrypto = new RijndaelManaged();
  53.  
  54.                 CryptoStream cs = new CryptoStream(fsCrypt,
  55.                     RMCrypto.CreateDecryptor(key, key),
  56.                     CryptoStreamMode.Read);
  57.  
  58.                 FileStream fsOut = new FileStream(outputFile, FileMode.Create);
  59.  
  60.                 int data;
  61.                 while ((data = cs.ReadByte()) != -1)
  62.                     fsOut.WriteByte((byte)data);
  63.  
  64.                 fsOut.Close();
  65.                 cs.Close();
  66.                 fsCrypt.Close();
  67.  
  68.             }
  69.         }
  70.     }
  71. }
  72.  
  73.  
  74.  
Feb 14 '13 #4
thomashurlburt
6 New Member
Expand|Select|Wrap|Line Numbers
  1. private void Login(object sender, EventArgs e)
  2.         {
  3.             string location = "Tri//Accounts//" + textBox1.Text + "//" + "Set.sav";
  4.             string pingGPS="Tri//Accounts//"+textBox1.Text+"//"+"Set.savv";
  5.             if (Directory.Exists("Tri"))
  6.             {
  7.                 if (File.Exists("Tri//Accounts//" + textBox1.Text+"//"+pingGPS)&File.Exists(location))
  8.                 {
  9.                     DecryptFile(pingGPS, location);
  10.  
  11.                     StreamReader read = new StreamReader(pingGPS);
  12.                     var reads = read.ReadLine();
  13.                     if (reads == textBox2.Text)
  14.                     {
  15.                     }
  16.                     else
  17.                     {
  18.                         MessageBox.Show("wrong password please try again");
  19.                     }
  20.  
  21.                 }
  22.                 else
  23.                 {
  24.                     MessageBox.Show(pingGPS+"........."+location+"....."+"Does not exist");
  25.                 }
  26.  
  27.             }
  28.             else
  29.             {
  30.                 MessageBox.Show("Can't seem to find[" + textBox1.Text + "]");
  31.  
  32.             }
  33.  
  34.  
  35.  
  36.  
  37.         }
  38.  
  39.  
  40.  
  41.         private void timer1_Tick(object sender, EventArgs e)
  42.         {
  43.  
  44.             timer1.Interval = 100;
  45.             string TriAccount = "Tri//Accounts//" + textBox1.Text;
  46.  
  47.             string all = TriAccount + "//" + "Set.sav";
  48.             string all2 = TriAccount + "//" + "Set.savv";
  49.             //creating the account and saving it and looking for existing 
  50.  
  51.  
  52.             toolStripProgressBar1.Increment(+1);
  53.             if (toolStripProgressBar1.Value == 1)
  54.             {
  55.                 label1.Text = "Generating Key";
  56.                 //sSecretKey = safe.GennerateKey();
  57.             }
  58.             if (toolStripProgressBar1.Value == 5)
  59.             {
  60.                 label1.Text = "Creating account";
  61.                 Properties.Settings.Default.Folder = all;
  62.                 Properties.Settings.Default.Username = all2;
  63.                 Properties.Settings.Default.Save();
  64.                 Directory.CreateDirectory(TriAccount);
  65.  
  66.             }
  67.             if (toolStripProgressBar1.Value == 10)
  68.             {
  69.                 Main();
  70.                 label1.Text = "Writing personal use data";
  71.                 StreamWriter write = new StreamWriter(all);
  72.                 write.WriteLine(textBox2.Text);
  73.                 write.Flush();
  74.                 write.Close();
  75.  
  76.             }
  77.             if (toolStripProgressBar1.Value == 15)
  78.             {
  79.  
  80.  
  81.                /* FileInfo fileinfo = new FileInfo(TriAccount);
  82.                 FileSecurity accesscontrol = fileinfo.GetAccessControl();
  83.                 accesscontrol.AddAccessRule(new FileSystemAccessRule(TriAccount, FileSystemRights.FullControl, AccessControlType.Allow));
  84.                 fileinfo.SetAccessControl(accesscontrol); */
  85.             }
  86.  
  87.             if (toolStripProgressBar1.Value == 20)
  88.             {
  89.                 Main();
  90.                 label1.Text = "Applying key";
  91.                 GCHandle gch = GCHandle.Alloc(sSecretKey, GCHandleType.Pinned);
  92.                 EncryptFile(TriAccount, all);
  93.                 //safe.EncrytFile(TriAccount, all, sSecretKey);
  94.  
  95.             }
  96.             stat.Text = toolStripProgressBar1.ToString();
  97.             if (toolStripProgressBar1.Value == 100)
  98.             {
  99.                 timer1.Stop();
  100.                 MessageBox.Show("Account Created,TriBot needs to Restart");
  101.                 Application.Restart();
  102.             }
  103.         }
  104.  
  105.  
  106.  
  107.  
  108.         private void button3_Click(object sender, EventArgs e)
  109.         {
  110.             Main();
  111.             string TriAccount = "Tri//Accounts//" + textBox1.Text;
  112.  
  113.             if (Directory.Exists(TriAccount))
  114.             {
  115.                 MessageBox.Show("account exists please provide the password"); 
  116.             }
  117.             else
  118.             {
  119.                 MessageBox.Show("This may take up to a few mintues", "Creating Account");
  120.                 timer1.Start();
  121.             }
  122.         }
  123.         public void Main()
  124.         {
  125.             string TriAccount = "Tri//Accounts//" + textBox1.Text;
  126.             string triaccountkey = TriAccount + "//" + "Set.savv";
  127.             string keydone = TriAccount + "//" + "Set.sav";
  128.  
  129.             try
  130.             {
  131.                 string fileName = keydone ;
  132.  
  133.                 Console.WriteLine("Adding access control entry for "
  134.                     + fileName);
  135.  
  136.                 // Add the access control entry to the file.
  137.                 AddFileSecurity(fileName, TriAccount,
  138.                     FileSystemRights.FullControl, AccessControlType.Allow);
  139.  
  140.                 Console.WriteLine("Removing access control entry from "
  141.                     + fileName);
  142.  
  143.                 // Remove the access control entry from the file.
  144.                 RemoveFileSecurity(fileName, TriAccount,
  145.                     FileSystemRights.ReadData, AccessControlType.Allow);
  146.  
  147.                 Console.WriteLine("Done.");
  148.             }
  149.             catch (Exception e)
  150.             {
  151.                 Console.WriteLine(e);
  152.             }
  153.         }
  154.  
  155.         // Adds an ACL entry on the specified file for the specified account. 
  156.         public static void AddFileSecurity(string fileName, string account,
  157.             FileSystemRights rights, AccessControlType controlType)
  158.         {
  159.  
  160.  
  161.             // Get a FileSecurity object that represents the 
  162.             // current security settings.
  163.             FileSecurity fSecurity = File.GetAccessControl(fileName);
  164.  
  165.             // Add the FileSystemAccessRule to the security settings.
  166.             fSecurity.AddAccessRule(new FileSystemAccessRule(account,
  167.                 rights, controlType));
  168.  
  169.             // Set the new access settings.
  170.             File.SetAccessControl(fileName, fSecurity);
  171.  
  172. }
  173.  
  174.         // Removes an ACL entry on the specified file for the specified account. 
  175.         public static void RemoveFileSecurity(string fileName, string account,
  176.             FileSystemRights rights, AccessControlType controlType)
  177.         {
  178.  
  179.             // Get a FileSecurity object that represents the 
  180.             // current security settings.
  181.             FileSecurity fSecurity = File.GetAccessControl(fileName);
  182.  
  183.             // Remove the FileSystemAccessRule from the security settings.
  184.             fSecurity.RemoveAccessRule(new FileSystemAccessRule(account,
  185.                 rights, controlType));
  186.  
  187.             // Set the new access settings.
  188.             File.SetAccessControl(fileName, fSecurity);
  189.  
  190.         }
  191.  
  192.     }
  193. }
Feb 14 '13 #5
thomashurlburt
6 New Member
Expand|Select|Wrap|Line Numbers
  1. ;
  2. using System.Security;
  3. using System.Security.Cryptography;
  4. using System.Runtime.InteropServices;
  5. using System.Security.AccessControl;
  6.  
  7. namespace TriLockerBot
  8. {
  9.  
  10.  
  11.     public partial class Form1 : Form
  12.     {
  13.  
  14.         Safe safe = new Safe();
  15.         public Form1()
  16.         {
  17.             InitializeComponent();
  18.         }
  19.         string sSecretKey;
  20.  
  21.         private void EncryptFile(string inputFile, string outputFile)
  22.         {
  23.  
  24.             try
  25.             {
  26.                 string password = "H@JPK09"; // Your Key Here
  27.                 UnicodeEncoding UE = new UnicodeEncoding();
  28.                 byte[] key = UE.GetBytes(password);
  29.  
  30.                 string cryptFile = outputFile;
  31.                 FileStream fsCrypt = new FileStream(cryptFile, FileMode.Create);
  32.  
  33.                 RijndaelManaged RMCrypto = new RijndaelManaged();
  34.  
  35.                 CryptoStream cs = new CryptoStream(fsCrypt,
  36.                     RMCrypto.CreateEncryptor(key, key),
  37.                     CryptoStreamMode.Write);
  38.  
  39.                 FileStream fsIn = new FileStream(inputFile, FileMode.Open);
  40.                 int data;
  41.                 while ((data = fsIn.ReadByte()) != -1)
  42.                     cs.WriteByte((byte)data);
  43.  
  44.  
  45.                 fsIn.Close();
  46.                 cs.Close();
  47.                 fsCrypt.Close();
  48.             }
  49.             catch
  50.             {
  51.  
  52.             }
  53.         }
  54.         ///<summary>
  55.         /// Steve Lydford - 12/05/2008.
  56.         ///
  57.         /// Decrypts a file using Rijndael algorithm.
  58.         ///</summary>
  59.         ///<param name="inputFile"></param>
  60.         ///<param name="outputFile"></param>
  61.         private void DecryptFile(string inputFile, string outputFile)
  62.         {
  63.  
  64.             {
  65.                 string password = "H@JPK09"; // Your Key Here
  66.  
  67.                 UnicodeEncoding UE = new UnicodeEncoding();
  68.                 byte[] key = UE.GetBytes(password);
  69.                 if (File.Exists("Tri//Account//" + textBox1.Text + "//" + "Set.savv"))
  70.                 {
  71.                     FileStream fsCrypt = new FileStream(inputFile, FileMode.Open);
  72.  
  73.                     RijndaelManaged RMCrypto = new RijndaelManaged();
  74.  
  75.                     CryptoStream cs = new CryptoStream(fsCrypt,
  76.                         RMCrypto.CreateDecryptor(key, key),
  77.                         CryptoStreamMode.Read);
  78.  
  79.                     FileStream fsOut = new FileStream(outputFile, FileMode.Create);
  80.  
  81.                     int data;
  82.                     while ((data = cs.ReadByte()) != -1)
  83.                         fsOut.WriteByte((byte)data);
  84.  
  85.                     fsOut.Close();
  86.                     cs.Close();
  87.                     fsCrypt.Close();
  88.                 }
  89.                 else
  90.                 {
  91.                     MessageBox.Show("Error");
  92.                 }
  93.  
  94.             }
  95.         }
  96.  
  97.  
  98.  
  99.  
  100.         private void Form1_Load(object sender, EventArgs e)
  101.         {
  102.  
  103.             vision.Text = "Ver:" + Application.ProductVersion;
  104.         }
  105.  
  106.         private void Login(object sender, EventArgs e)
  107.         {
  108.             string location = "Tri//Accounts//" + textBox1.Text + "//" + "Set.sav";
  109.             string pingGPS="Tri//Accounts//"+textBox1.Text+"//"+"Set.savv";
  110.             if (Directory.Exists("Tri"))
  111.             {
  112.                 if (File.Exists("Tri//Accounts//" + textBox1.Text+"//"+pingGPS)&File.Exists(location))
  113.                 {
  114.                     DecryptFile(pingGPS, location);
  115.  
  116.                     StreamReader read = new StreamReader(pingGPS);
  117.                     var reads = read.ReadLine();
  118.                     if (reads == textBox2.Text)
  119.                     {
  120.                     }
  121.                     else
  122.                     {
  123.                         MessageBox.Show("wrong password please try again");
  124.                     }
  125.  
  126.                 }
  127.                 else
  128.                 {
  129.                     MessageBox.Show(pingGPS+"........."+location+"....."+"Does not exist");
  130.                 }
  131.  
  132.             }
  133.             else
  134.             {
  135.                 MessageBox.Show("Can't seem to find[" + textBox1.Text + "]");
  136.  
  137.             }
  138.  
  139.  
  140.  
  141.  
  142.         }
  143.  
  144.  
  145.  
  146.         private void timer1_Tick(object sender, EventArgs e)
  147.         {
  148.  
  149.             timer1.Interval = 100;
  150.             string TriAccount = "Tri//Accounts//" + textBox1.Text;
  151.  
  152.             string all = TriAccount + "//" + "Set.sav";
  153.             string all2 = TriAccount + "//" + "Set.savv";
  154.             //creating the account and saving it and looking for existing 
  155.  
  156.  
  157.             toolStripProgressBar1.Increment(+1);
  158.             if (toolStripProgressBar1.Value == 1)
  159.             {
  160.                 label1.Text = "Generating Key";
  161.                 //sSecretKey = safe.GennerateKey();
  162.             }
  163.             if (toolStripProgressBar1.Value == 5)
  164.             {
  165.                 label1.Text = "Creating account";
  166.                 Properties.Settings.Default.Folder = all;
  167.                 Properties.Settings.Default.Username = all2;
  168.                 Properties.Settings.Default.Save();
  169.                 Directory.CreateDirectory(TriAccount);
  170.  
  171.             }
  172.             if (toolStripProgressBar1.Value == 10)
  173.             {
  174.                 Main();
  175.                 label1.Text = "Writing personal use data";
  176.                 StreamWriter write = new StreamWriter(all);
  177.                 write.WriteLine(textBox2.Text);
  178.                 write.Flush();
  179.                 write.Close();
  180.  
  181.             }
  182.             if (toolStripProgressBar1.Value == 15)
  183.             {
  184.  
  185.  
  186.                /* FileInfo fileinfo = new FileInfo(TriAccount);
  187.                 FileSecurity accesscontrol = fileinfo.GetAccessControl();
  188.                 accesscontrol.AddAccessRule(new FileSystemAccessRule(TriAccount, FileSystemRights.FullControl, AccessControlType.Allow));
  189.                 fileinfo.SetAccessControl(accesscontrol); */
  190.             }
  191.  
  192.             if (toolStripProgressBar1.Value == 20)
  193.             {
  194.                 Main();
  195.                 label1.Text = "Applying key";
  196.                 GCHandle gch = GCHandle.Alloc(sSecretKey, GCHandleType.Pinned);
  197.                 EncryptFile(TriAccount, all);
  198.                 //safe.EncrytFile(TriAccount, all, sSecretKey);
  199.  
  200.             }
  201.             stat.Text = toolStripProgressBar1.ToString();
  202.             if (toolStripProgressBar1.Value == 100)
  203.             {
  204.                 timer1.Stop();
  205.                 MessageBox.Show("Account Created,TriBot needs to Restart");
  206.                 Application.Restart();
  207.             }
  208.         }
  209.  
  210.  
  211.  
  212.  
  213.         private void Register(object sender, EventArgs e)
  214.         {
  215.             Main();
  216.             string TriAccount = "Tri//Accounts//" + textBox1.Text;
  217.  
  218.             if (Directory.Exists(TriAccount))
  219.             {
  220.                 MessageBox.Show("account exists please provide the password"); 
  221.             }
  222.             else
  223.             {
  224.                 MessageBox.Show("This may take up to a few mintues", "Creating Account");
  225.                 timer1.Start();
  226.             }
  227.         }
  228.         public void Main()
  229.         {
  230.             string TriAccount = "Tri//Accounts//" + textBox1.Text;
  231.             string triaccountkey = TriAccount + "//" + "Set.savv";
  232.             string keydone = TriAccount + "//" + "Set.sav";
  233.  
  234.             try
  235.             {
  236.                 string fileName = keydone ;
  237.  
  238.                 Console.WriteLine("Adding access control entry for "
  239.                     + fileName);
  240.  
  241.                 // Add the access control entry to the file.
  242.                 AddFileSecurity(fileName, TriAccount,
  243.                     FileSystemRights.FullControl, AccessControlType.Allow);
  244.  
  245.                 Console.WriteLine("Removing access control entry from "
  246.                     + fileName);
  247.  
  248.                 // Remove the access control entry from the file.
  249.                 RemoveFileSecurity(fileName, TriAccount,
  250.                     FileSystemRights.ReadData, AccessControlType.Allow);
  251.  
  252.                 Console.WriteLine("Done.");
  253.             }
  254.             catch (Exception e)
  255.             {
  256.                 Console.WriteLine(e);
  257.             }
  258.         }
  259.  
  260.         // Adds an ACL entry on the specified file for the specified account. 
  261.         public static void AddFileSecurity(string fileName, string account,
  262.             FileSystemRights rights, AccessControlType controlType)
  263.         {
  264.  
  265.  
  266.             // Get a FileSecurity object that represents the 
  267.             // current security settings.
  268.             FileSecurity fSecurity = File.GetAccessControl(fileName);
  269.  
  270.             // Add the FileSystemAccessRule to the security settings.
  271.             fSecurity.AddAccessRule(new FileSystemAccessRule(account,
  272.                 rights, controlType));
  273.  
  274.             // Set the new access settings.
  275.             File.SetAccessControl(fileName, fSecurity);
  276.  
  277. }
  278.  
  279.         // Removes an ACL entry on the specified file for the specified account. 
  280.         public static void RemoveFileSecurity(string fileName, string account,
  281.             FileSystemRights rights, AccessControlType controlType)
  282.         {
  283.  
  284.             // Get a FileSecurity object that represents the 
  285.             // current security settings.
  286.             FileSecurity fSecurity = File.GetAccessControl(fileName);
  287.  
  288.             // Remove the FileSystemAccessRule from the security settings.
  289.             fSecurity.RemoveAccessRule(new FileSystemAccessRule(account,
  290.                 rights, controlType));
  291.  
  292.             // Set the new access settings.
  293.             File.SetAccessControl(fileName, fSecurity);
  294.  
  295.         }
  296.  
  297.     }
  298. }
  299.  
  300.  
  301.  
  302.  
  303.  
Feb 14 '13 #6
Rabbit
12,516 Recognized Expert Moderator MVP
Yeah... I'm not about to read 500 lines of code.

Are you getting errors? What are the errors? Which lines cause the errors?

Are you not getting errors but it's not behaving in the way you expect? Which lines of code is executing incorrectly? What behavior is resulting? What is supposed to happen instead?
Feb 14 '13 #7
thomashurlburt
6 New Member
no im not getting errors. it runs fine but it wont create the encryption file and save the password from the textBox2.text and encrypt the password and then when the user types the same password in again it doesn't recognize it and cant decrypt. and I created a fail catch point to recreate the whole thing but it doesn't want to work. and I've tried everything
Feb 15 '13 #8
Rabbit
12,516 Recognized Expert Moderator MVP
Like I said earlier, I'm not trying to read 500 lines of code to find the one you're talking about. Please tell me which block of code it is and which line number you're referring to.
Feb 15 '13 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

6
3360
by: Lou | last post by:
Please can someone put me out my misery! Im trying to find a multiple user/password protection script that will redirect the specific user to a specific directory. At the moment I have set up htaccess which is fine but can only protect one directory unless I put htaccess on each directory which I think is a bit long winded, but is there any other way I can do this with using only one password script? Any info would be greatly...
4
3210
by: Tim Daneliuk | last post by:
OK, I've Googled for this and cannot seem to quite find what I need. So, I turn to the Gentle Geniuses here for help. Here is what I need to do from within a script: Given a username and a password (plain text): 1) Validate that the password is correct for that user *without actually logging in*. 2) If the password is valid, return a list of all the groups the user belongs to. Otherwise, return some error string.
0
2963
by: Bright | last post by:
Dear All I'm after a multi-User password database so that I can centrally store system passwords and give granular access to individuals based on their own unique authentication (possibly a securID token). I've been keeping a watchful eye for such a system but to no avail ..... has anybody come across such a system? ... I'll be most grateful top hear about such a system!
1
1576
by: NWx | last post by:
Hi, I'm an old developer, but didn't used SQL Server or MSDE to much before. I have NetSDK instance of MSDE installed on my PC by Net Framework SDK. All quickstart samples access it using trusted connection. However, I want to access it using user / password, but I have no idea what is default username / password to use. Any help is appreciated.
0
1548
by: Yannick Béot | last post by:
Hi, I'm trying to make an application that allow a user, through a web form to change its password On a click event, here is the code DirectoryEntry usr = new DirectoryEntry( theUserDN, user,
7
4994
by: Daniel Walzenbach | last post by:
Hello, I want to create a Word XML file based on the input users make in a VB.NET application. I imagine creating a template in Word and saving it as a XML file. I then want to fill the template (in my application) based on the user input. When the document gets opened there should be fields users can change but others should be prevented from beeing changed (I know that an "open" file format like XML can always be modified to allow...
9
15527
by: webrod | last post by:
Hi all, how can I check a user/password in a LDAP ? I don't want to connect with this user, I would like to connect to LDAP with a ADMIN_LOG/ADMIN_PWD, then do a query to find the user and check the password. The thing is I can't access the password attribute to compare with the user's password provided.
3
1277
by: Torben Laursen | last post by:
I have made a asp.net 2.0 homepage with a number of users. My problem is that I cannot remember what password I gave each of them. How to I retrive a password that I gave a user? Thanks Torben
0
1936
by: geoharish | last post by:
Dear All, I started using Python just a few days back and there was a requirement of an assigned project to change the user Password through script without user interaction. I could write the following peace of code, which uses Pexpect for the same. The mentioned Poc may certainly help others, incase they need some requirement like this. import pexpect, sys if len(sys.argv) != 3: print "Usage: "+sys.argv+" user new_password." ...
5
2073
by: wolfjmt | last post by:
Hi all I am new to Linux, I have worked on it a little before (on Redhat 8 ), but still consider myself a novas and open SUSE is completely new to me. I was told that there are setting that can be applied to the SUSE system that will remove(delete) a specific folder on the system if a threat is defected - see example below If the "root" user password is reset throw the single user mode (using the passwd function); will the setup (or...
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8252
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.