Client-server architecture program for windows

Assignment Help C/C++ Programming
Reference no: EM131444715

You need a client-server architecture program for windows OS (minimum support: Win 7),. the agent program will run as a background process and perform certain tasks every X time, and send results to a web server (PHP API).

- The client agent program which will run on Windows must be stable and secure. it must be lightweight, and dose not use too much memory.

- The client agent program must be written in C++ the server side script which will accept the request from client program must be in PHP.

- The client agent program must be a single file (just .EXE), and it's size must be small.
- The client agent program must start automatically when windows start, basically the The client agent program is like a service background process.

- The client agent program must detect if there's a proxy is set in Internet explorer and use that proxy configuration

- most computers on the network are set to use a local proxy, the allowed ports are 80 and 443
- The server side PHP script will store the received data into organised folders. the folders will be created dynamically based on PC name for the PC on which the program agent runs.

=============================

Details:

The main task of the agent program is to keep track on documents files [doc, docx, pdf]. All files with this types will be processed by the program agent.

Task 1, First run

1. On first run of the agent: Agent will search for all doc, docx, pdf files, based on timestamp, ignore any file that is not modified or opened since 30 Day

2. Search locations includes current PC HDD, don't scan system folders. Start by scanning user folder (My documents, Desktop..etc} then move to HDD Partitions {D, E, F..} Including any connected external devices such as USB Flash drives.

3. Calculate a hash for each file (md5)

4. Encrypt each file

5. Add files to queue to be uploaded to the server

6. Upload Files to the server one by one using POST request and include pc name, local & remote ip and file last modified/opened date

7. wait before upload next file: 45 second.

8. when the above process finishes, there's no need to repeat. Start Task 2

Task 2, lifecycle

- After files on Computer has been scanned and processed. Now, the agent will sleep until a specific events occurs.

1. When user creates a document {Doc, docx, PDF}, then copy that document to the queue to be processed and sent to the server.

2. When user insert a USB or any external storage, then the agent will perform Task 1 but only scan the inserted Device.

3. to keep track on files that is already scanned (check if the files modified), the agent must compare the stored hash with the files, if the file hash dose not match the stored hash, that's mean the file has been modified, in this case, add the file to the queue to be uploaded to the server.

Important info:

1. There will no be a GUI, the agent will work in background.

2. There will be two server URLs one as primary and second one as backup.

3. the primary server url is https:// , the backup server is a different url but without ssl.

4. If the agent is unable to reach the server for some reason, then try to upload the data to backup server.

5. if agent is unable to connect to backup server, then try connect to primary server but without https, use http instead.

6. If file upload failed due a timeout (ex; slow internet connection), then try again after 1 hour.

7. if agent are unable to access to both primary and back server then try to connect to server using IP instead of domain, if this fail too, then schedule the files to be uploaded later. the agent must keep try to connect to one of the servers every 1 minute.

8. The agent must able to re-execute itself if it crashed or the process has been terminated for some reason.

9. The agent MUST not require an administrator privileges (This is a must). the agent will run on a windows user which is on a low privileges.

10. the agent must run even if the user logged in with a different windows account.

11. POST Request data must be encoded or encrypted.

Server Side

1. When the PHP script Receive a request, it must analyse it's data and add the file to the correct folder based on PC name

2. create a text file inside each folder that contain the info of the sender PC (local, remote ip, username)

3. create a text file named with same received file name but add this at the end of file name "-info" this will contain last open,modify and create date

Reference no: EM131444715

Questions Cloud

Explain how the concept fits today : Critically examine the concept: define the concept; identify when it was first discussed and what the arguments were for its creation; discuss how the concept then evolved by identifying the arguments for and against it over time and by noting any..
Analysis and recommendations of individual brokerage firm : If a stock is purchased at the beginning of a? year, a single dividend is paid at the end of the year and the stock is sold immediately after the dividend has been received. The published analysis and recommendations of an individual brokerage firm i..
No-arbitrage determination of forward price : By using the information above and applying the Cost-of-Carry Model, verify if there is an arbitrage opportunity. Step (2) In addition, clearly explain and illustrate the arbitrage (“Cash-and-Carry”) strategy and compute the arbitrage profit.
Make a function that will calculate the pressure : Make a function that will calculate the Pressure [psi] given the Specific Gravity, Depth, and the acceleration of gravity. (Pay close attention to your units).
Client-server architecture program for windows : You need a client-server architecture program for windows OS (minimum support: Win 7),. the agent program will run as a background process and perform certain tasks every X time, and send results to a web server (PHP API).
Find a parking space : The length of time it takes to find a parking space at 9 A.M. follows a normal distribution with a mean of 4 minutes and a standard deviation of 2 minutes.
Annual coupon interest payments : Assume that today's date is April 15, 2015. Fresh Bakery Inc. bond is an annual-coupon bond. Par value of the bond is $5,000. Calculate annual coupon interest payments. The answer should be calculated to two decimal places Company-Fresh Bakery Price-..
Explain asymptotic distribution : Suppose that An is a random variable that converges in probability to 3. Suppose that Bn is random variable that converges in distribution to a standard normal. What is the asymptotic distribution of AnBn?
Describe patient-care technologies as appropriate to address : Describe patient-care technologies as appropriate to address the needs of a diverse patient population.Analyze data from all relevant sources, including technology, to inform the delivery of care.Define standardized terminology that reflects nursing'..

Reviews

len1444715

3/30/2017 3:08:22 AM

I need a client-server architecture program for windows OS (minimum support: Win 7),. the agent program will run as a background process and perform certain tasks every X time, and send results to a web server (PHP API). - The client agent program which will run on Windows must be stable and secure. it must be lightweight, and dose not use too much memory. The client agent program must be written in C++ the server side script which will accept the request from client program must be in PHP. The client agent program must be a single file (just .EXE), and it's size must be small. The client agent program must start automatically when windows start, basically the The client agent program is like a service background process. The client agent program must detect if there's a proxy is set in Internet explorer and use that proxy configuration most computers on the network are set to use a local proxy, the allowed ports are 80 and 443 The server side PHP script will store the received data into organised folders. the folders will be created dynamically based on PC name for the PC on which the program agent runs. Performance and stability is a must

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd