Skip to content

A college project in C# using server-client architecture. A file editor with a remote file directory and permission management.

License

Notifications You must be signed in to change notification settings

ElenaChes/csharp-remote-text-file-editor-client-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote File Editor

A college project in C# using server-client architecture.
A file editor with a remote file directory and permission management.

Note

The project is separated into a client side and a server (admin) side, but set to work on the same computer for testing purposes.
Adjust IP addresses in the code before compiling to run across multiple computers on the same network.

Content


Installation

  1. Run Server_Final/Compiled/Server_Final.exe.
  2. Run Client_Final/Compiled/Client_Final.exe.

or

  1. Compile Server_Final/Server_Final.sln via Visual Studio.
  2. Compile Client_Final/Client_Final.sln via Visual Studio.

Users

Currently, there are three users in the system:

  • admin (pass: 123)
  • user1 (pass: 111)
  • user2 (pass: 222)

Adding New Users

  • If running the compiled files, modify: Server_Final/Compiled/users.txt
  • If running via Visual Studio, modify: Server_Final/Server_Final/bin/Debug/users.txt

Caution

Passwords are stored in plaintext in users.txt.
This project is intended for learning/testing purposes only and should not be used in any real production environment.

Usage

  1. Login via the client form.
  2. Regular users can:
    • Load an existing text file from the user folder or open a new one.
    • Make changes to the file and save; the file will be updated on the server.
  3. Admins can:
    • Browse user folders and manage files.
    • Changes made by the admin won’t affect existing files, but only the admin can delete files.

About

A college project in C# using server-client architecture. A file editor with a remote file directory and permission management.

Topics

Resources

License

Stars

Watchers

Forks