Method and device for configuring shared folder

The invention provides a method and a device for configuring a shared folder, wherein the method comprises the following steps: receiving folder configuration information sent by a folder configuration client, wherein the folder configuration information comprises folder information of a target folder and shared processing information of the target folder; according to the folder information, performing shared processing operation corresponding to the shared processing information on the information of the target folder in a configuration file, wherein the configuration file is stored in a DLNA (digital living network alliance) server; sending a file sharing configuration indication to the DLNA server, thereby enabling the DLNA server to set the shared folder based on the configuration file according to the file sharing configuration indication. The method and the device realize dynamic setting of the shared folder without restarting the DLNA server.