28 votes 28 votes Dynamic linking can cause security concerns becauseSecurity is dynamicThe path for searching dynamic libraries is not known till runtimeLinking is insecureCryptographic procedures are not available for dynamic linking Compiler Design gatecse-2002 compiler-design runtime-environment easy + – Kathleen asked Sep 15, 2014 Kathleen 7.0k views answer comment Share Follow See 1 comment See all 1 1 comment reply smsubham commented Mar 2, 2020 reply Follow Share https://gateoverflow.in/209810/why-is-dynamic-linking-less-secure#a210564 0 votes 0 votes Please log in or register to add a comment.
Best answer 52 votes 52 votes Nonsense option, No idea why it is here. The path for searching dynamic libraries is not known till runtime -> This seems most correct answer. This is not true. Linking in itself not insecure. There is no relation between Cryptographic procedures & Dynamic linking. Akash Kanase answered Nov 22, 2015 • edited Jun 27, 2018 by kenzou Akash Kanase comment Share Follow See all 7 Comments See all 7 7 Comments reply Show 4 previous comments sunil sarode commented Jan 13, 2018 reply Follow Share process should access only area which is allocated to it .if it has permission then only it can access the other process resource.with hardware we can restrict the process to access the addresses between base and limit. In case of dynamic linking process may access the resource of other process so OS should take care of it . In case malware try to access the other process resource which it should not ,OS must take care of such unauthorized access. also check this:https://stackoverflow.com/questions/4136582/dynamic-linking-is-less-secure 18 votes 18 votes Ayush Upadhyaya commented Sep 30, 2018 reply Follow Share In dynamic linkin, all external references are that of a stub. A stub is a piece of code which knows how to locate and load the appropriate memory resident library routine which is needed. So, if this stub contains the address of a malicious code, then security is a concern. 16 votes 16 votes PSDesai09 commented Jan 12, 2021 reply Follow Share great explanation 0 votes 0 votes Please log in or register to add a comment.
18 votes 18 votes Dynamic linking is type of linking in which libraries required by the program are linked during run time. And evaluating all options B seems correct one. Bikram answered Dec 28, 2016 Bikram comment Share Follow See all 4 Comments See all 4 4 Comments reply Brij Mohan Gupta commented Aug 18, 2017 reply Follow Share @Bikram Sir Dynamic linking is not making any sense with cryptography for security, option B seems to be correct. 1 votes 1 votes Bikram commented Aug 18, 2017 reply Follow Share yes there is no relation between cryptography and dynamic linking. 1 votes 1 votes Brij Mohan Gupta commented Aug 22, 2017 reply Follow Share Thanks, Sir. 0 votes 0 votes bharti commented Sep 13, 2017 reply Follow Share @Bikram sir option B is true. but how can it cause security concerns ? sir give me some real time example please 1 votes 1 votes Please log in or register to add a comment.
2 votes 2 votes b. path is not not known so it's not easy to intruder to place malicious program. skrahul answered Jan 20, 2015 skrahul comment Share Follow See 1 comment See all 1 1 comment reply suvasish pal commented Sep 18, 2017 reply Follow Share Is this can be a logic? 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes People finding explanation on option B may go to the following link: https://gateoverflow.in/209810/why-is-dynamic-linking-less-secure Specially see @smsubham answer. May read my short answer as well. Akash Kumar Roy answered Mar 2, 2020 Akash Kumar Roy comment Share Follow See all 0 reply Please log in or register to add a comment.